package liangtWorkSpace.proxy.subject.House;

import liangtWorkSpace.proxy.cglib.aop.ProxyFactory;

/**
 * @ClassName BuyHourseCglibProxy
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/13 17:51
 */
public class BuyHourseCglibProxy {
    public static void main(String[] args) {
        BuyHourse buyHourse = new BuyHourseImp();
        BuyHourseCglib buyHourseCglib = new BuyHourseCglib();
        BuyHourseImp hourse = (BuyHourseImp) buyHourseCglib.createProxy(buyHourse);
        hourse.buyHourse();
    }
}
